package com.zyw.zhuangdian.service;

import com.zyw.zhuangdian.pojo.Resp;
import com.zyw.zhuangdian.pojo.in.ArticleDtoIn;
import com.zyw.zhuangdian.pojo.out.ArticleDtoOut;

import java.util.List;

public interface ArticleService {
    Resp<Void> addArticle(ArticleDtoIn in);
    Resp<Void> updateArticle(ArticleDtoIn in);
    Resp<Void> deleteArticle(ArticleDtoIn in);
    Resp<List<ArticleDtoOut>> listArticles(ArticleDtoIn in);
}
